#pragma once

#include <vector>
#include "Image.h"

class Heightmap : public Image
{
public:
	typedef std::vector<unsigned char> UCharVector_t;

	Heightmap();
	unsigned int& getVerticeCount();
	unsigned int& getPixelStep();
	float& getHeightScale();
	float& getLengthScale();
	float& getWidthScale();
	float InterpolatedHeight( float fX, float fY );
	float Height( int flX, int flY );
private:
	unsigned int m_pixelStep;
	unsigned int m_verticeCount;
	float m_heightScale;
	float m_widthScale;
	float m_lengthScale;
};